﻿using System.Collections.Generic;
using RSSReader.classesCustom;

namespace RSSReader._testPages
{
    public partial class TestArt1 : System.Web.UI.Page
    {
        [System.Web.Services.WebMethod]
        public static string[] GetCityNameArray(string[] cities)
        {
            cities[0] = "test1";            
            //string[] ci = new string[5];
            cities = new string[5];
            cities[4] = "test2";
            return cities;
        }

        [System.Web.Services.WebMethod]
        public static List<Article> GetArticles(List<Article> articles)
        {
            return Global.dh2.onlineArticles;
        }
    }
}